using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class SysUserTable : TableInfo
{
public const string C_TABLENAME = "Sys_User";

public const string C_USERID = "USERID";

public const string C_USERNAME = "USERNAME";

public const string C_USERNAMEPINYIN = "USERNAMEPINYIN";

public const string C_USERNAMEPYFIRSTCHAR = "USERNAMEPYFIRSTCHAR";

public const string C_UPPERUSERID = "UPPERUSERID";

public const string C_TEL = "TEL";

public const string C_MOBILE = "MOBILE";

public const string C_EMPLOYEETYPE = "EMPLOYEETYPE";

public const string C_MAIL = "MAIL";

public const string C_UNITS = "UNITS";

public const string C_STATUS = "STATUS";

public const string C_PASSWORD = "PASSWORD";

public const string C_PASSWORDCHANGEDATE = "PASSWORDCHANGEDATE";

public const string C_ISDEFAULTPWD = "ISDEFAULTPWD";

public const string C_LASTESTLOGINDATE = "LASTESTLOGINDATE";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public const string C_MODIFYDATE = "MODIFYDATE";

public const string C_DEPARTMENTID = "DEPARTMENTID";

public const string C_JOBTITLEID = "JOBTITLEID";

public const string C_USERLOGINID = "USERLOGINID";

public const string C_CANUSEROLE = "CANUSEROLE";

public const string C_ISGENERAL = "ISGENERAL";

public SysUserTable()
{
_tableName = "Sys_User";
}

protected static SysUserTable _current;
public static SysUserTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new SysUserTable();

_current.Add(C_USERID, new ColumnInfo(C_USERID, "", true, typeof(String)));

_current.Add(C_USERNAME, new ColumnInfo(C_USERNAME, "", false, typeof(String)));

_current.Add(C_USERNAMEPINYIN, new ColumnInfo(C_USERNAMEPINYIN, "", false, typeof(String)));

_current.Add(C_USERNAMEPYFIRSTCHAR, new ColumnInfo(C_USERNAMEPYFIRSTCHAR, "", false, typeof(String)));

_current.Add(C_UPPERUSERID, new ColumnInfo(C_UPPERUSERID, "", false, typeof(String)));

_current.Add(C_TEL, new ColumnInfo(C_TEL, "", false, typeof(String)));

_current.Add(C_MOBILE, new ColumnInfo(C_MOBILE, "", false, typeof(String)));

_current.Add(C_EMPLOYEETYPE, new ColumnInfo(C_EMPLOYEETYPE, "", false, typeof(String)));

_current.Add(C_MAIL, new ColumnInfo(C_MAIL, "", false, typeof(String)));

_current.Add(C_UNITS, new ColumnInfo(C_UNITS, "", false, typeof(String)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_PASSWORD, new ColumnInfo(C_PASSWORD, "", false, typeof(String)));

_current.Add(C_PASSWORDCHANGEDATE, new ColumnInfo(C_PASSWORDCHANGEDATE, "", false, typeof(DateTime?)));

_current.Add(C_ISDEFAULTPWD, new ColumnInfo(C_ISDEFAULTPWD, "", false, typeof(String)));

_current.Add(C_LASTESTLOGINDATE, new ColumnInfo(C_LASTESTLOGINDATE, "", false, typeof(DateTime?)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

_current.Add(C_DEPARTMENTID, new ColumnInfo(C_DEPARTMENTID, "", false, typeof(String)));

_current.Add(C_JOBTITLEID, new ColumnInfo(C_JOBTITLEID, "", false, typeof(String)));

_current.Add(C_USERLOGINID, new ColumnInfo(C_USERLOGINID, "", false, typeof(String)));

_current.Add(C_CANUSEROLE, new ColumnInfo(C_CANUSEROLE, "", false, typeof(String)));

_current.Add(C_ISGENERAL, new ColumnInfo(C_ISGENERAL, "", false, typeof(String)));

}

public ColumnInfo USERID
{
get { return this[C_USERID]; }
}

public ColumnInfo USERNAME
{
get { return this[C_USERNAME]; }
}

public ColumnInfo USERNAMEPINYIN
{
get { return this[C_USERNAMEPINYIN]; }
}

public ColumnInfo USERNAMEPYFIRSTCHAR
{
get { return this[C_USERNAMEPYFIRSTCHAR]; }
}

public ColumnInfo UPPERUSERID
{
get { return this[C_UPPERUSERID]; }
}

public ColumnInfo TEL
{
get { return this[C_TEL]; }
}

public ColumnInfo MOBILE
{
get { return this[C_MOBILE]; }
}

public ColumnInfo EMPLOYEETYPE
{
get { return this[C_EMPLOYEETYPE]; }
}

public ColumnInfo MAIL
{
get { return this[C_MAIL]; }
}

public ColumnInfo UNITS
{
get { return this[C_UNITS]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo PASSWORD
{
get { return this[C_PASSWORD]; }
}

public ColumnInfo PASSWORDCHANGEDATE
{
get { return this[C_PASSWORDCHANGEDATE]; }
}

public ColumnInfo ISDEFAULTPWD
{
get { return this[C_ISDEFAULTPWD]; }
}

public ColumnInfo LASTESTLOGINDATE
{
get { return this[C_LASTESTLOGINDATE]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

public ColumnInfo DEPARTMENTID
{
get { return this[C_DEPARTMENTID]; }
}

public ColumnInfo JOBTITLEID
{
get { return this[C_JOBTITLEID]; }
}

public ColumnInfo USERLOGINID
{
get { return this[C_USERLOGINID]; }
}

public ColumnInfo CANUSEROLE
{
get { return this[C_CANUSEROLE]; }
}
public ColumnInfo ISGENERAL
{
    get { return this[C_ISGENERAL]; }
}

}
}